package com.byapp.fast.modules.contract.dto;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@NoArgsConstructor
@Data
@Accessors(chain = true)
@ApiModel
public class CallBackEthDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 返回类型 */
    @JsonProperty("ctype")
    private Integer cType;

    /* 交易hash */
    @JsonProperty("txhash")
    private String txHash;

    /* 区块交易时间 */
    @JsonProperty("txtime")
    private Long txTime;

    /* 数据内容 */
    @JsonProperty("data")
    private CallBackBetDTO callBackBetDTO;

}
